/* @(#)GSBusEmergencyOrderQueryVO.java   
 *
 * Project: GS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li    2006-4-13     新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSBusEmergencyOrderQueryVO implements GSBaseBean {

    public String orderDeptId;
    public String deliverGoodsId;
    public String type;
    public String manufType1;
    public String manufType2;
    public String manufType3;
    public String concentricityId;//集中编码
    public String manufInfo;
    public String createDateStr;
    public String createDateEnd;
    public String providerName;
    
    //for display queryed result
    public String orderDetailId;    //订单明细编码
    public String orderDeptName;
    public double goodUnitprice;
    public String deliverGoodsDate;
    public String deliverGoodsTime;
    public String isTradeFlatManuf;
    public String providerId;
    public double signCount;
    public double signPrice;
    public String isTradeFlatProvider;
    public String manufactureName;
    public String manufSpec;
    public String manufType;
    public String manufBrand;
    public double orderCount;
    public String quantUnit;
    public String orderTempId;
    public String mode;
    public Object process(ResultSet aResultSet) throws SQLException {
        GSBusEmergencyOrderQueryVO tGSOrderVO = new GSBusEmergencyOrderQueryVO();
        tGSOrderVO.orderDetailId = aResultSet.getString("P1").trim();
        tGSOrderVO.concentricityId = aResultSet.getString("P2");
        tGSOrderVO.manufactureName = aResultSet.getString("P3").trim();
        tGSOrderVO.manufSpec = aResultSet.getString("P5") == null? "":aResultSet.getString("P5").trim();
        tGSOrderVO.isTradeFlatManuf = aResultSet.getString("P4");
        tGSOrderVO.manufType = aResultSet.getString("P6") == null? "":aResultSet.getString("P6").trim();
        tGSOrderVO.manufBrand = aResultSet.getString("P7") == null? "":aResultSet.getString("P7").trim();
        tGSOrderVO.orderCount = aResultSet.getDouble("P8");
        tGSOrderVO.quantUnit = aResultSet.getString("P9")== null?"":aResultSet.getString("P9");
        tGSOrderVO.providerName = aResultSet.getString("P10");
        tGSOrderVO.orderDeptName = aResultSet.getString("P11") == null? "" :aResultSet.getString("P11").trim();
        tGSOrderVO.goodUnitprice = aResultSet.getDouble("P12");
//        tGSOrderVO.deliverGoodsDate = aResultSet.getString("P13");
//        tGSOrderVO.deliverGoodsTime = aResultSet.getString("P14");
        tGSOrderVO.orderTempId = aResultSet.getString("P15");
        tGSOrderVO.providerId = aResultSet.getString("P16");
        tGSOrderVO.isTradeFlatProvider = aResultSet.getString("P17");
        tGSOrderVO.deliverGoodsId = aResultSet.getString("P18")== null? "" : aResultSet.getString("P18").trim();
        tGSOrderVO.signCount = aResultSet.getDouble("P19");
        tGSOrderVO.signPrice = aResultSet.getDouble("P20");
        tGSOrderVO.type = aResultSet.getString("P21");
        tGSOrderVO.mode=aResultSet.getString("P22");
        return tGSOrderVO;
    }

}
